<template>
  <div @click='abc'>
    组件B
  </div>
</template>

<script>
import Bus from "@/common/Bus";
export default {
    methods: {
        abc() {
            Bus.$emit('sendMsg',100)
        }
    }
}
</script>

<style>

</style>